i can't save UseState get api in React